package com.lovo.model;

import lombok.Data;

import java.util.UUID;

@Data
public class InvoiceDO {
    private String id;
    private String userId;
    private String invoiceUrl;
    private int amount;
    public InvoiceDO(String userId,int amount,String invoiceUrl){
        this.id = UUID.randomUUID().toString();
        this.userId = userId;
        this.amount = amount;
        this.invoiceUrl = invoiceUrl;
    }
}
